home *** CD-ROM | disk | FTP | other *** search
- on(release){
- var question = _root.frontArray[_root.activeMC];
- var answer = _root.backArray[_root.activeMC];
- var frontAudio = _root.frontAudioArray[_root.activeMC];
- var backAudio = _root.backAudioArray[_root.activeMC];
- var frontImage = _root.frontImageArray[_root.activeMC];
- var backImage = _root.backImageArray[_root.activeMC];
- _root.tempfrontArray = new Array();
- _root.tempbackArray = new Array();
- _root.tempfrontAudioArray = new Array();
- _root.tempbackAudioArray = new Array();
- _root.frontImageArray = new Array();
- _root.backImageArray = new Array();
- _root.tempfrontArray = _root.backArray;
- _root.tempbackArray = _root.frontArray;
- _root.tempfrontAudioArray = _root.backAudioArray;
- _root.tempbackAudioArray = _root.frontAudioArray;
- _root.tempfrontImageArray = _root.backImageArray;
- _root.tempbackImageArray = _root.frontImageArray;
- _root.frontArray = _root.tempfrontArray;
- _root.backArray = _root.tempbackArray;
- _root.frontAudioArray = _root.tempfrontAudioArray;
- _root.backAudioArray = _root.tempbackAudioArray;
- _root.frontImageArray = _root.tempfrontImageArray;
- _root.backImageArray = _root.tempbackImageArray;
- tellTarget("_root.dynamicbuttonMc")
- {
- setProperty("frontAudioInstance", _visible, false);
- setProperty("backAudioInstance", _visible, false);
- setProperty("frontImageHolderInstance", _visible, false);
- setProperty("backImageHolderInstance", _visible, false);
- var question = _root.frontArray[_root.activeMC];
- var answer = _root.backArray[_root.activeMC];
- var frontAudio = _root.frontAudioArray[_root.activeMC];
- var backAudio = _root.backAudioArray[_root.activeMC];
- var frontImage = _root.frontImageArray[_root.activeMC];
- var backImage = _root.backImageArray[_root.activeMC];
- setProperty("_root.flipcursor1", _visible, false);
- gotoAndPlay(1);
- }
- }
-